<?php

declare (strict_types=1);
namespace App\Model;

use Hyperf\DbConnection\Model\Model;
/**
 * @property int $id 项目ID
 * @property string $title 项目名称
 * @property int $company_id 公司表id
 * @property string $notes 备注
 * @property int $status 状态 (1正常 2停用)
 * @property \Carbon\Carbon $created_at 创建时间
 * @property \Carbon\Carbon $updated_at 更新时间
 * @property string $deleted_at 删除时间
 * @property int $del_flag 删除标识，0为默认，1为删除
 */
class UserProject extends Model
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'user_project';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = ['id', 'title', 'company_id', 'notes', 'status', 'created_at', 'updated_at', 'deleted_at', 'del_flag'];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'company_id' => 'integer', 'status' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', 'del_flag' => 'integer'];
}